package pojo;

import java.util.Date;

public class BackUser {
	
	// ��Ա����
	private int userId;
	private String userName;
	private String password;
	private int manage;
	private String phoneNumber;
	private Date createTime;
	
	
	
	
	// ���췽��
	
	// ȫ�������췽��
	public BackUser(int userId, String userName, String password, int manage, String phoneNumber,Date createTime) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.manage = manage;
		this.phoneNumber = phoneNumber;
		this.createTime = createTime;
	}
	
	// û�� userId �Ĺ��췽��
	public BackUser(String userName, String password, int manage, String phoneNumber,Date createTime) {
		super();
		this.userName = userName;
		this.password = password;
		this.manage = manage;
		this.phoneNumber = phoneNumber;
		this.createTime = createTime;
	}

	public BackUser() {
		super();
	}

	// set/get��������дtoString
	/**
	 * @return the userId
	 */
	public int getUserId() {
		return userId;
	}
	
	/**
	 * @param userId the userId to set
	 */
	public void setUserId(int userId) {
		this.userId = userId;
	}
	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @return the manage
	 */
	public int getManage() {
		return manage;
	}
	/**
	 * @param manage the manage to set
	 */
	public void setManage(int manage) {
		this.manage = manage;
	}
	/**
	 * @return the phoneNumber
	 */
	public String getPhoneNumber() {
		return phoneNumber;
	}
	/**
	 * @param phoneNumber the phoneNumber to set
	 */
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", password=" + password + ", manage=" + manage
				+ ", phoneNumber=" + phoneNumber +", createTime=" + createTime + "]";
	}

	
	
}
